
import 'package:flutter_presentation/custom_model.dart';

import 'flutter_presentation_platform_interface.dart';

class FlutterPresentation {
  Future<String?> getPlatformVersion() {
    return FlutterPresentationPlatform.instance.getPlatformVersion();
  }

  Future<void> startSubScreen(CustomModel model) {
    return FlutterPresentationPlatform.instance.startSubScreen(model);
  }

  Future<void> startSubScreenWithDisplayId(CustomModel model, int displayId) {
    return FlutterPresentationPlatform.instance.startSubScreenWithDisplayId(model, displayId);
  }

  Future<List<Map<String, dynamic>>> getDisplays() {
    return FlutterPresentationPlatform.instance.getDisplays();
  }

  Future<void> loadData(CustomModel model) async {
    return FlutterPresentationPlatform.instance.loadData(model);
  }
}
